﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web_Guia_Digital_Georeferenciada
{
    public partial class cerrarSesion : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Usuario"] == null)
            {
                Response.Write("<script>alert('Debe estar logueado para ingresar a esta seccion(proximamente filtro) ')</script>");
                Response.Redirect("~/PaginaPrincipalBT.aspx", false);
            }
            
             Session["Usuario"] = null;
             Session["Cliente"] = null;
             Session["Comercio"] = null;
             Response.Redirect("~/PaginaPrincipalBT.aspx", false);
        }
    }
}